﻿using System;
using System.Collections.Generic;
using System.Linq;
using SqlSugar;
namespace CoreCms.Net.Model.Entities
{
    /// <summary>
    /// 信尔成其他业务咨询表
    ///</summary>
    [SugarTable("xrc_other")]
    public class XrcOther
    {
        /// <summary>
        /// 编号 
        ///</summary>
         [SugarColumn(ColumnName="id" ,IsPrimaryKey = true ,IsIdentity = true  )]
         public int Id { get; set; }
        /// <summary>
        /// 团组id 
        /// 默认值: 1
        ///</summary>
         [SugarColumn(ColumnName="gid"    )]
         public int Gid { get; set; }
        /// <summary>
        /// 申请人id 
        ///</summary>
         [SugarColumn(ColumnName="userId"    )]
         public int UserId { get; set; }
        /// <summary>
        /// 咨询人
        ///</summary>
         [SugarColumn(ColumnName= "name")]
         public string Name { get; set; }
        /// <summary>
        /// 咨询电话
        ///</summary>
        [SugarColumn(ColumnName = "mobile")]
        public string Mobile { get; set; }
        /// <summary>
        ///  咨询内容
        ///</summary>
        [SugarColumn(ColumnName= "content")]
         public string  Content { get; set; }
        /// <summary>
        /// 业务id 
        ///</summary>
         [SugarColumn(ColumnName= "type_id")]
         public int Type_Id { get; set; }
        /// <summary>
        /// 业务名称 
        ///</summary>
         [SugarColumn(ColumnName= "type_name")]
         public string Type_Name { get; set; }
       
        /// <summary>
        /// 审批状态，0待处理，1 已处理
        /// 默认值: 0
        ///</summary>
         [SugarColumn(ColumnName = "state")]
        public byte State { get; set; }
        /// <summary>
        /// 申请时间 
        /// 默认值: CURRENT_TIMESTAMP
        ///</summary>
        [SugarColumn(ColumnName = "create_time")]
        public DateTime Create_Time { get; set; }
        /// <summary>
        /// 更新时间 
        /// 默认值: CURRENT_TIMESTAMP
        ///</summary>
        [SugarColumn(ColumnName = "update_time")]
        public DateTime Update_Time { get; set; }
        /// <summary>
        /// 处理结果 
        ///</summary>
        [SugarColumn(ColumnName = "results")]
        public string Results { get; set; }
        /// <summary>
        /// 是否删除 
        /// 默认值: b'0'
        ///</summary>
         [SugarColumn(ColumnName="delete"    )]
         public int Delete { get; set; }
    }
}
